import { defineStore } from 'pinia'

export const useUserStore = defineStore('user', {
  state: () => {
    return {
      name: '初始用户'
    }
  },
  getters: {
    getInit: (state) => `我是${state.name}`
  }
})